package com.couldsail.takeaway.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mysql.cj.log.Log;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("banner")
public class Banner {
    private String id;
    @TableField(value = "image_url")
    private String imageUrl;
    private Integer sort;
    @TableField(value = "created_at")
    private LocalDateTime createdAt;
    @TableField(value = "created_by")
    private String CreatedBy;
}
